package com.sify.templates;

import java.util.Arrays;

public class Table
{
    private Index Index;

    private String name;

    private String type;

    private Object[] Object;

    public Table(com.sify.templates.Index index, String name, String type,
			com.sify.templates.Object[] object) {
		super();
		Index = index;
		this.name = name;
		this.type = type;
		Object = object;
	}

	public Index getIndex ()
    {
        return Index;
    }

    public void setIndex (Index Index)
    {
        this.Index = Index;
    }

    public String getName ()
    {
        return name;
    }

    public void setName (String name)
    {
        this.name = name;
    }

    public String getType ()
    {
        return type;
    }

    public void setType (String type)
    {
        this.type = type;
    }

    public Object[] getObject ()
    {
        return Object;
    }

    public void setObject (Object[] Object)
    {
        this.Object = Object;
    }

	@Override
	public String toString() {
		return "Table [Index=" + Index + ", name=" + name + ", type=" + type
				+ ", Object=" + Arrays.toString(Object) + "]";
	}
}